package com.hxqh.bo.bean;

import java.util.Date;

/**
 * FpsUserFundInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FpsUserFundInfo implements java.io.Serializable {

	// Fields

	private Integer userFundId;
	private Long orderRef;
	private Integer userId;
	private Integer policyId;
	private String policyName;
	private String futuresCode;
	private Date tradeDate;
	private Integer tradeNum;
	private Double openPrice;
	private Double closePrice;
	private Double fundFloat;
	private Double profitLost;
	private Integer sell;
	private Integer automatic;

	// Constructors

	/** default constructor */
	public FpsUserFundInfo() {
	}

	/** minimal constructor */
	public FpsUserFundInfo(Long orderRef, Integer userId, Integer policyId) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.policyId = policyId;
	}

	/** full constructor */
	public FpsUserFundInfo(Long orderRef, Integer userId, Integer policyId,
			String policyName, String futuresCode, Date tradeDate,
			Integer tradeNum, Double openPrice, Double closePrice,
			Double fundFloat, Double profitLost, Integer sell, Integer automatic) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.policyId = policyId;
		this.policyName = policyName;
		this.futuresCode = futuresCode;
		this.tradeDate = tradeDate;
		this.tradeNum = tradeNum;
		this.openPrice = openPrice;
		this.closePrice = closePrice;
		this.fundFloat = fundFloat;
		this.profitLost = profitLost;
		this.sell = sell;
		this.automatic = automatic;
	}

	// Property accessors

	public Integer getUserFundId() {
		return this.userFundId;
	}

	public void setUserFundId(Integer userFundId) {
		this.userFundId = userFundId;
	}

	public Long getOrderRef() {
		return this.orderRef;
	}

	public void setOrderRef(Long orderRef) {
		this.orderRef = orderRef;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}

	public String getPolicyName() {
		return this.policyName;
	}

	public void setPolicyName(String policyName) {
		this.policyName = policyName;
	}

	public String getFuturesCode() {
		return this.futuresCode;
	}

	public void setFuturesCode(String futuresCode) {
		this.futuresCode = futuresCode;
	}

	public Date getTradeDate() {
		return this.tradeDate;
	}

	public void setTradeDate(Date tradeDate) {
		this.tradeDate = tradeDate;
	}

	public Integer getTradeNum() {
		return this.tradeNum;
	}

	public void setTradeNum(Integer tradeNum) {
		this.tradeNum = tradeNum;
	}

	public Double getOpenPrice() {
		return this.openPrice;
	}

	public void setOpenPrice(Double openPrice) {
		this.openPrice = openPrice;
	}

	public Double getClosePrice() {
		return this.closePrice;
	}

	public void setClosePrice(Double closePrice) {
		this.closePrice = closePrice;
	}

	public Double getFundFloat() {
		return this.fundFloat;
	}

	public void setFundFloat(Double fundFloat) {
		this.fundFloat = fundFloat;
	}

	public Double getProfitLost() {
		return this.profitLost;
	}

	public void setProfitLost(Double profitLost) {
		this.profitLost = profitLost;
	}

	public Integer getSell() {
		return this.sell;
	}

	public void setSell(Integer sell) {
		this.sell = sell;
	}

	public Integer getAutomatic() {
		return this.automatic;
	}

	public void setAutomatic(Integer automatic) {
		this.automatic = automatic;
	}

}